package com.pansoft.kline.model;

import java.io.Serializable;

/**
 * @author : zzj
 * @e-mail : zhangzhijun@pansoft.com
 * @date : 2018/11/19 10:03
 * @desc : 自选和市值的model
 * @version: 1.0
 */
public class KlineOptionalOrMVModel implements Serializable {



    private String marketId;
    private String title;
    private String name = "FGT";
    private String price;
    private String num;
    private String subPrice;

    private String changeRate;
    /**
     * 是否增长
     */
    private boolean isIncrease;

    //趋势类型 0 平稳  -1 跌 1 涨
    private int trendType = 0;

    public String getMarketId() {
        return marketId;
    }

    public void setMarketId(String marketId) {
        this.marketId = marketId;
    }

    public int getTrendType() {
        return trendType;
    }

    public void setTrendType(int trendType) {
        this.trendType = trendType;
    }

    public String getChangeRate() {
        return changeRate;
    }

    public void setChangeRate(String changeRate) {
        this.changeRate = changeRate;
    }

    public boolean isIncrease() {
        return isIncrease;
    }

    public void setIncrease(boolean increase) {
        isIncrease = increase;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getSubPrice() {
        return subPrice;
    }

    public void setSubPrice(String subPrice) {
        this.subPrice = subPrice;
    }

    @Override
    public String toString() {
        return "KlineOptionalOrMVModel{" +
                "marketId='" + marketId + '\'' +
                ", title='" + title + '\'' +
                ", name='" + name + '\'' +
                ", price='" + price + '\'' +
                ", num='" + num + '\'' +
                ", subPrice='" + subPrice + '\'' +
                ", changeRate='" + changeRate + '\'' +
                ", isIncrease=" + isIncrease +
                ", trendType=" + trendType +
                '}';
    }
}
